package com.maisuiit.genericity;

/**
 * @author zhangcc
 * @date 2022-02-15
 */
public class GenericTest {

    public static void main(String[] args) {
        Generic<Integer> integerGeneric = new Generic<>(100);
        Generic<String> stringGeneric = new Generic<>("你好");
        System.out.println(integerGeneric.getKey());
        System.out.println(stringGeneric.getKey());
    }
}
